{extends file="assets::smarty-templates::Master"|ToPath}
{block name=content}
<form>
    <fieldset>
        <label>Mi Horario</label>
        <table class="datatable">
            <tbody>
            {$format = "h:i a"}
            {foreach $Horario as $horario}
                <tr>
                    <th>{$Dias[$horario@index]}</th>
                    {foreach $horario as $Curso}
                    <td>
                       
                        <div>{$Curso["CodigoMateria"]} - {$Curso["Materia"]}</div>
                        <div>Grupo: {$Curso["Grupo"]}</div>
                        <div>
                            {$Curso["HoraInicio"]|json_to_date:$format} - 
                            {$Curso["HoraFin"]|json_to_date:$format}
                        </div>
                    </td>
                    {/foreach}
                </tr>
            {/foreach}
            </tbody>
        </table>
    </fieldset>
</form>
{/block}